package com.astar
{
	/**
	 * 节点信息类
	 * */
	public class Node
	{
		//行
		public var x :int;
		//列
		public var y :int;
		//F值
		public var f :int;
		//G值
		public var g :int;
		//H值
		public var h :int;
		//是否能通过
		public var walkable :Boolean = true;
		//估值的代价因子
		public var costMultiplier :int = 1;
		//父节点
		public var parent :Node;
		public function Node(x :int, y :int)
		{
			this.x = x;
			this.y = y;
		}
	}
}